package edu.unc.comp410.colemangeer.model;

import org.apache.log4j.Logger;

public class CreditCardAuthorization extends PaymentAuthorization {

	private static Logger log = Logger.getLogger(CreditCardAuthorization.class);
	
	/**
	 * Public constructors
	 */
	public CreditCardAuthorization(){
		super();
	}
	
	@Override
	public
	boolean authorize(Customer c) {
		log.warn("Credit Card auth is approved for Customer Id = " + c.getId());
		customer = c;
		return true;

	}

	@Override
	public boolean equals(Object obj) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public int hashCode() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return null;
	}

}
